<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <form action="/loginPost" method="post">
        <!--csrf防护-->
        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
        用户名：<input type="text" name="username">
        密码：<input type="password" name="password">
        <input type="checkbox" name="remember">记住我
        <input type="submit" value="登录">
    </form>
</body>
</html>